package com.wx.dao;

import com.wx.entity.WxMassAndSendResult;
import com.wx.entity.WxMassMessage;
import com.wx.entity.WxMassMessageExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface WxMassMessageMapper {
	int countByExample(WxMassMessageExample example);

	int deleteByExample(WxMassMessageExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(WxMassMessage record);

	int insertSelective(WxMassMessage record);

	List<WxMassMessage> selectByExample(WxMassMessageExample example);

	WxMassMessage selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") WxMassMessage record, @Param("example") WxMassMessageExample example);

	int updateByExample(@Param("record") WxMassMessage record, @Param("example") WxMassMessageExample example);

	int updateByPrimaryKeySelective(WxMassMessage record);

	int updateByPrimaryKey(WxMassMessage record);

	List<WxMassAndSendResult> selectMassAndResultByExample(Map<String, Object> params);

	List<WxMassAndSendResult> selectMassAndResultByTagId(Map<String, Object> params);
}